<?php

namespace App\Http\Controllers\Api;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Transformers\MqttTransformer;
use Bluerhinos\phpMQTT;

class MqttController extends Controller
{
    //
    public function index()
    {
        //创建新的连接对象
        $conn  = new Mqtt();
         // dump($mqtt);die;

    }
}
